package org.dreamwork.network.bridge.tunnel;

import org.dreamwork.network.service.IService;

import java.net.SocketAddress;
import java.util.List;
import java.util.Map;

public interface ITunnelMonitor extends IService {
    final class ClientInfo {
        public int port;
        public String name, remote;
        public SocketAddress remoteManagerAddress;
        public Map<String, TunnelInfo> tunnels;
    }

    final class TunnelInfo {
        public String a, z, t;
        public long timestamp;
    }

    List<ClientInfo> getClientInfo ();
}
